'use strict';

function hybrid_operation(collection) {

  let arr = collection.map(function(num){
    return num*3+2;
  })
  let result=arr.reduce(
    (a,b)=>a+b
  )
  return result;
  
}

module.exports = hybrid_operation;

